import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/system",
    name: "UserSystemTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "role",
        name: "role",
        component: () =>
          import(
            /* webpackChunkName: "role" */ "@/views/system/RoleManage.vue"
          ),
        meta: {
          title: "角色功能管理",
        },
      },
      {
        path: "user-manage",
        name: "userManage",
        component: () =>
          import(
            /* webpackChunkName: "userManage" */ "@/views/system/UserManage.vue"
          ),
        meta: {
          title: "用户管理",
        },
      },
      {
        path: "approval-process",
        name: "approvalProcess",
        component: () =>
          import(
            /* webpackChunkName: "approvalProcessReceipt" */ "@/views/system/ApprovalProcessReceipt.vue"
          ),
        meta: {
          title: "审批流定义",
        },
      },
    ],
  },
];
